﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LocalServerApp;


namespace Client
{
    class FejlGeneral : KortType
    {
        private string cardIdentifier = "%E_";
        private int lenghtIdentifier = 4;
        private string name = "FEJL";

        public FejlGeneral()
        {
        }

        public bool recogniseCardType(string recogniseString)
        {
                if (recogniseString.Contains(cardIdentifier) && recogniseString.Length == lenghtIdentifier)
                {
                    return true; 
                }
                else { 
                    return false; 
                }
            }
        
        public Person getCardInfo(string cardString)
        {
            return null;
        }

        public string getCardName()
        {
            return name;
        }
    }
}
